package StudentSys;

public class Stu {
    private String name;
    private String age;
    private String chengji;

    public Stu() {
    }

    public Stu(String name, String age, String chengji) {
        this.name = name;
        this.age = age;
        this.chengji = chengji;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getChengji() {
        return chengji;
    }

    public void setChengji(String chengji) {
        this.chengji = chengji;
    }

    @Override
    public String toString() {
        return "Stu{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", chengji='" + chengji + '\'' +
                '}';
    }
}
